﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using DG.Tweening;

public class BtnScale : MonoBehaviour ,IPointerEnterHandler,IPointerExitHandler{
    public void OnPointerEnter(PointerEventData eventData)
    {
        this.transform.DOScale(1.1f, 0.1f);
    }

    public void OnPointerExit(PointerEventData eventData) {
        this.transform.DOScale(1f, 0.1f);
    }

    // Use this for initialization
    void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		
	}
}
